//
//  TSCJsonUser.h
//  Tsc_IOS
//
//  Created by Rio on 15-5-21.
//  Copyright (c) 2015年 idream. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TSCJsonUser : NSObject

@property (nonatomic, assign) NSInteger Id;
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSString * email;
@property (nonatomic, assign) NSInteger role;
@property (nonatomic, copy) NSString * picUrl;
@property (nonatomic, assign) NSInteger cityId;
@property (nonatomic, copy) NSString * tel;
@property (nonatomic, assign) NSInteger shopId;
@property (nonatomic, assign) NSInteger emailValid;
@property (nonatomic, copy) NSString * loginKey;
@property (nonatomic, copy) NSString * pushUserId;
@property (nonatomic, assign) NSInteger score;
@property (nonatomic, assign) NSInteger guideStatus;
// 如果需要其他属性，继续添加，但必须和DB表保持一致...

// 以下属性不属于DB，但为使用方便，加上
@property (nonatomic, copy) NSString * cityName;
@property (nonatomic, copy) NSString * coverUrl; // 用户空间背景图片url
@property (nonatomic, copy) NSString * shopName;
@property (nonatomic, copy) NSString * shopPicUrl;
@property (nonatomic, copy) NSString * shopLogoUrl;
@property (nonatomic, assign) NSInteger shopManagerId;
@property (nonatomic, assign) NSInteger mallId;
@property (nonatomic, copy) NSString * mallName;
@property (nonatomic, copy) NSString * mallPicUrl;
@property (nonatomic, copy) NSString * goodsClassIds; // 导购所在店铺经营的全商品分类id。格式为：1,2,3
@property (nonatomic, assign) NSInteger guideIsManager; // 导购身份是否为店长
@property (nonatomic, assign) NSInteger achievement; // 导购的销售业绩（多少次成交交易）
@property (nonatomic, assign) NSInteger ranking; // 导购的排名
@property (nonatomic, assign) NSInteger lastLoginTime; // 登录成功后，服务器返回的时间戳

@end
